package com.lyf.design.learn.j2e.businessdelegate;

import com.lyf.design.learn.j2e.businessdelegate.impl.HelloService;

/**
 * @author LYF
 * @date 2022/6/27
 */
public class BusinessLookup {
    /**ctl  控制参数--*/
    BusinessService process(String ctl){
         if("hello".equalsIgnoreCase(ctl)){
             return new HelloService();
         }


         return null;
    }
}
